package com.winit.datasync.dao;

import java.util.HashMap;
import java.util.List;

public interface BaseDao<T> {
	
	public void batchInsert(List<T> list,int dataSourceType) throws Exception;

	public void delete(T t,int dataSourceType) throws Exception;

	public List<T> getByParams(HashMap<String, String> params,int dataSourceType) throws Exception;

	public List<T> getAll(int dataSourceType) throws Exception;
}
